<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css属性_字体</title>
    <style>
        p{
            color: red;
            font-size: 30px;
            text-align: center;
            line-height: 200px;
            /* border边框 */
            border: 1px solid red;
        }
        div{
            margin:0 auto;
            /*text-align: center;*/
            border: 1px solid red;
            /*  尺寸  */
            width: 400px;
            height: 400px;
            /*  背景  */
            background: url("img/小埋1.jpeg") center no-repeat;
        }
    </style>
</head>
<body>

    <p>干物妹</p>
    <div></div>

</body>
</html>